<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Functions: string conversion</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions: string conversion<div class="ingroups"><a class="el" href="group__str__funcs.html">Functions: strings</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>functions that convert between string encodings </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group___s2_e_a_o_p_t__"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___s2_e_a_o_p_t__.html">String to address conversion flags</a></td></tr>
<tr class="memdesc:group___s2_e_a_o_p_t__"><td class="mdescLeft">&#160;</td><td class="mdescRight">passed as 'flags' parameter to <a class="el" href="group__conv.html#ga23d7766239e287fb8ff399b5bc0aaee5" title="Same as str2ea() but possibly with some steps skipped. ">str2ea_ex()</a> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga2a279305305bab80e523786467b4b978"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2a279305305bab80e523786467b4b978"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga2a279305305bab80e523786467b4b978">MAX_NUMBUF</a>&#160;&#160;&#160;(128+8)</td></tr>
<tr class="memdesc:ga2a279305305bab80e523786467b4b978"><td class="mdescLeft">&#160;</td><td class="mdescRight">16-byte value in binary base (0b00101010...) <br /></td></tr>
<tr class="separator:ga2a279305305bab80e523786467b4b978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b3db1c24e62b851151ad44961673fe2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6b3db1c24e62b851151ad44961673fe2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga6b3db1c24e62b851151ad44961673fe2">b2a</a>&#160;&#160;&#160;<a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021">b2a32</a></td></tr>
<tr class="memdesc:ga6b3db1c24e62b851151ad44961673fe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">shortcut for number-&gt;string conversion, see <a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021" title="Convert number to UTF-8 string (includes leading zeroes). ">b2a32()</a> <br /></td></tr>
<tr class="separator:ga6b3db1c24e62b851151ad44961673fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf60881ca3eb98d6591178afcfa89931d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf60881ca3eb98d6591178afcfa89931d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gaf60881ca3eb98d6591178afcfa89931d">btoa</a>&#160;&#160;&#160;<a class="el" href="group__conv.html#ga5c891837ef475e76b295d9a392fee148">btoa32</a></td></tr>
<tr class="memdesc:gaf60881ca3eb98d6591178afcfa89931d"><td class="mdescLeft">&#160;</td><td class="mdescRight">shortcut for number-&gt;string conversion, see <a class="el" href="group__conv.html#ga5c891837ef475e76b295d9a392fee148" title="Same as b2a32(), but will generate a string without any leading zeroes. ">btoa32()</a> <br /></td></tr>
<tr class="separator:gaf60881ca3eb98d6591178afcfa89931d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9186123d2c0a94a99b6aedddc4d8d95"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa9186123d2c0a94a99b6aedddc4d8d95"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gaa9186123d2c0a94a99b6aedddc4d8d95">atob</a>&#160;&#160;&#160;<a class="el" href="group__conv.html#gad1f23fd75bbb86f6c99cda4ee3f2901b">atob32</a></td></tr>
<tr class="memdesc:gaa9186123d2c0a94a99b6aedddc4d8d95"><td class="mdescLeft">&#160;</td><td class="mdescRight">shortcut for string-&gt;number conversion, see <a class="el" href="group__conv.html#gad1f23fd75bbb86f6c99cda4ee3f2901b" title="Convert UTF-8 to a number using the current assembler formats. ">atob32()</a> <br /></td></tr>
<tr class="separator:gaa9186123d2c0a94a99b6aedddc4d8d95"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gafeb8ec5376fcc707cd186cda8709e402"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafeb8ec5376fcc707cd186cda8709e402"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gafeb8ec5376fcc707cd186cda8709e402">ea2str</a> (<a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *out, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea)</td></tr>
<tr class="memdesc:gafeb8ec5376fcc707cd186cda8709e402"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert linear address to UTF-8 string. <br /></td></tr>
<tr class="separator:gafeb8ec5376fcc707cd186cda8709e402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1749acc1d36063b3c63eceb573807803"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga1749acc1d36063b3c63eceb573807803">str2ea</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *ea_ptr, const char *str, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> screen_ea)</td></tr>
<tr class="memdesc:ga1749acc1d36063b3c63eceb573807803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert string to linear address.  <a href="#ga1749acc1d36063b3c63eceb573807803">More...</a><br /></td></tr>
<tr class="separator:ga1749acc1d36063b3c63eceb573807803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23d7766239e287fb8ff399b5bc0aaee5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga23d7766239e287fb8ff399b5bc0aaee5">str2ea_ex</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *ea_ptr, const char *str, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> screen_ea, int flags)</td></tr>
<tr class="memdesc:ga23d7766239e287fb8ff399b5bc0aaee5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__conv.html#ga1749acc1d36063b3c63eceb573807803" title="Convert string to linear address. ">str2ea()</a> but possibly with some steps skipped.  <a href="#ga23d7766239e287fb8ff399b5bc0aaee5">More...</a><br /></td></tr>
<tr class="separator:ga23d7766239e287fb8ff399b5bc0aaee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab76412b1a3398d75775dfe8793f21586"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gab76412b1a3398d75775dfe8793f21586">atoea</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *pea, const char *str)</td></tr>
<tr class="memdesc:gab76412b1a3398d75775dfe8793f21586"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a number in C notation to an address.  <a href="#gab76412b1a3398d75775dfe8793f21586">More...</a><br /></td></tr>
<tr class="separator:gab76412b1a3398d75775dfe8793f21586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b85a3df343f84521b38db85dfbcfc88"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4b85a3df343f84521b38db85dfbcfc88"></a>
<a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga4b85a3df343f84521b38db85dfbcfc88">stoa</a> (<a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *buf, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> from, <a class="el" href="pro_8h.html#a633a07e2920351503da14c0adcd3edfd">sel_t</a> seg)</td></tr>
<tr class="memdesc:ga4b85a3df343f84521b38db85dfbcfc88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert segment selector to UTF-8 string. <br /></td></tr>
<tr class="separator:ga4b85a3df343f84521b38db85dfbcfc88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37485399ee5ae9a8f2a640791c196ba3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> int <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga37485399ee5ae9a8f2a640791c196ba3">atos</a> (<a class="el" href="pro_8h.html#a633a07e2920351503da14c0adcd3edfd">sel_t</a> *seg, const char *str)</td></tr>
<tr class="memdesc:ga37485399ee5ae9a8f2a640791c196ba3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert UTF-8 string to segment selector.  <a href="#ga37485399ee5ae9a8f2a640791c196ba3">More...</a><br /></td></tr>
<tr class="separator:ga37485399ee5ae9a8f2a640791c196ba3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga930c378fa67e093ba89b16a3893aa26a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga930c378fa67e093ba89b16a3893aa26a">b2a_width</a> (int nbytes, int radix)</td></tr>
<tr class="memdesc:ga930c378fa67e093ba89b16a3893aa26a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of UTF-8 characters required to represent a number with the specified number of bytes and radix.  <a href="#ga930c378fa67e093ba89b16a3893aa26a">More...</a><br /></td></tr>
<tr class="separator:ga930c378fa67e093ba89b16a3893aa26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf556e4db77caa513277469f486538021"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021">b2a32</a> (char *buf, size_t bufsize, <a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a> x, int nbytes, int radix)</td></tr>
<tr class="memdesc:gaf556e4db77caa513277469f486538021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert number to UTF-8 string (includes leading zeroes).  <a href="#gaf556e4db77caa513277469f486538021">More...</a><br /></td></tr>
<tr class="separator:gaf556e4db77caa513277469f486538021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36ba7a6b65e2f88044f65f88e8e869f3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga36ba7a6b65e2f88044f65f88e8e869f3"></a>
<a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga36ba7a6b65e2f88044f65f88e8e869f3">b2a64</a> (char *buf, size_t bufsize, <a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a> x, int nbytes, int radix)</td></tr>
<tr class="memdesc:ga36ba7a6b65e2f88044f65f88e8e869f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021" title="Convert number to UTF-8 string (includes leading zeroes). ">b2a32()</a>, but can handle 'nbytes' = 8. <br /></td></tr>
<tr class="separator:ga36ba7a6b65e2f88044f65f88e8e869f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89eff609660f3911b48b064cded528a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga89eff609660f3911b48b064cded528a6">btoa_width</a> (int nbytes, <a class="el" href="pro_8h.html#a55dd00e03168fb5180830e87ef0a2c57">flags_t</a> flag, int n)</td></tr>
<tr class="memdesc:ga89eff609660f3911b48b064cded528a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get max number of UTF-8 characters required to represent a given type of value, with a given size (without leading zeroes).  <a href="#ga89eff609660f3911b48b064cded528a6">More...</a><br /></td></tr>
<tr class="separator:ga89eff609660f3911b48b064cded528a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c891837ef475e76b295d9a392fee148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga5c891837ef475e76b295d9a392fee148">btoa32</a> (char *buf, size_t bufsize, <a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a> x, int radix=0)</td></tr>
<tr class="memdesc:ga5c891837ef475e76b295d9a392fee148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as <a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021" title="Convert number to UTF-8 string (includes leading zeroes). ">b2a32()</a>, but will generate a string without any leading zeroes.  <a href="#ga5c891837ef475e76b295d9a392fee148">More...</a><br /></td></tr>
<tr class="separator:ga5c891837ef475e76b295d9a392fee148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae2d3012fb1dee65fe7af339a88327b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaae2d3012fb1dee65fe7af339a88327b3"></a>
<a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gaae2d3012fb1dee65fe7af339a88327b3">btoa64</a> (char *buf, size_t bufsize, <a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a> x, int radix=0)</td></tr>
<tr class="memdesc:gaae2d3012fb1dee65fe7af339a88327b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">64-bit equivalent of <a class="el" href="group__conv.html#ga5c891837ef475e76b295d9a392fee148" title="Same as b2a32(), but will generate a string without any leading zeroes. ">btoa32()</a> <br /></td></tr>
<tr class="separator:gaae2d3012fb1dee65fe7af339a88327b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1481961520f3f83e1887a3456a4207ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1481961520f3f83e1887a3456a4207ae"></a>
<a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga1481961520f3f83e1887a3456a4207ae">btoa128</a> (char *buf, size_t bufsize, uint128 x, int radix=0)</td></tr>
<tr class="memdesc:ga1481961520f3f83e1887a3456a4207ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">128-bit equivalent of <a class="el" href="group__conv.html#ga5c891837ef475e76b295d9a392fee148" title="Same as b2a32(), but will generate a string without any leading zeroes. ">btoa32()</a> <br /></td></tr>
<tr class="separator:ga1481961520f3f83e1887a3456a4207ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69a59c44a34ab2ad3ac2a63db70a1d3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga69a59c44a34ab2ad3ac2a63db70a1d3b">numop2str</a> (char *buf, size_t bufsize, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea, int n, <a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a> x, int nbytes, int radix=0)</td></tr>
<tr class="memdesc:ga69a59c44a34ab2ad3ac2a63db70a1d3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert instruction operand immediate number to UTF-8.  <a href="#ga69a59c44a34ab2ad3ac2a63db70a1d3b">More...</a><br /></td></tr>
<tr class="separator:ga69a59c44a34ab2ad3ac2a63db70a1d3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1f23fd75bbb86f6c99cda4ee3f2901b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gad1f23fd75bbb86f6c99cda4ee3f2901b">atob32</a> (<a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a> *x, const char *str)</td></tr>
<tr class="memdesc:gad1f23fd75bbb86f6c99cda4ee3f2901b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert UTF-8 to a number using the current assembler formats.  <a href="#gad1f23fd75bbb86f6c99cda4ee3f2901b">More...</a><br /></td></tr>
<tr class="separator:gad1f23fd75bbb86f6c99cda4ee3f2901b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad91500c42cbe464460c6743ed939b914"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad91500c42cbe464460c6743ed939b914"></a>
<a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gad91500c42cbe464460c6743ed939b914">atob64</a> (<a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a> *x, const char *str)</td></tr>
<tr class="memdesc:gad91500c42cbe464460c6743ed939b914"><td class="mdescLeft">&#160;</td><td class="mdescRight">64-bit equivalent of <a class="el" href="group__conv.html#gad1f23fd75bbb86f6c99cda4ee3f2901b" title="Convert UTF-8 to a number using the current assembler formats. ">atob32()</a> <br /></td></tr>
<tr class="separator:gad91500c42cbe464460c6743ed939b914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb73af3c1ed4cb525cf9460ab9c76583"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> void <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#gacb73af3c1ed4cb525cf9460ab9c76583">append_disp</a> (<a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *buf, <a class="el" href="pro_8h.html#ac29a387cc69c0d1abb2f2ef05dad1a6f">adiff_t</a> disp, bool tag=true)</td></tr>
<tr class="memdesc:gacb73af3c1ed4cb525cf9460ab9c76583"><td class="mdescLeft">&#160;</td><td class="mdescRight">Auxiliary function.  <a href="#gacb73af3c1ed4cb525cf9460ab9c76583">More...</a><br /></td></tr>
<tr class="separator:gacb73af3c1ed4cb525cf9460ab9c76583"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20030e1b244657d07e337f43b30d31a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> <a class="el" href="pro_8h.html#acb0b22a01885ebdb9ac572343bbc4dab">THREAD_SAFE</a> int <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga20030e1b244657d07e337f43b30d31a8">r50_to_asc</a> (char *p, const <a class="el" href="pro_8h.html#ab95f123a6c9bcfee6a343170ef8c5f69">ushort</a> *r, int k)</td></tr>
<tr class="memdesc:ga20030e1b244657d07e337f43b30d31a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert RADIX50 -&gt; UTF-8.  <a href="#ga20030e1b244657d07e337f43b30d31a8">More...</a><br /></td></tr>
<tr class="separator:ga20030e1b244657d07e337f43b30d31a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8716a13603308b43998f55be1a056e5d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8716a13603308b43998f55be1a056e5d"></a>
int <a class="el" href="pro_8h.html#acb0b22a01885ebdb9ac572343bbc4dab">THREAD_SAFE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__conv.html#ga8716a13603308b43998f55be1a056e5d">asc_to_r50</a> (<a class="el" href="pro_8h.html#ab95f123a6c9bcfee6a343170ef8c5f69">ushort</a> *r, const char *p, int k)</td></tr>
<tr class="memdesc:ga8716a13603308b43998f55be1a056e5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert UTF-8 -&gt; RADIX50 (see <a class="el" href="group__conv.html#ga20030e1b244657d07e337f43b30d31a8" title="Convert RADIX50 -> UTF-8. ">r50_to_asc()</a>) <br /></td></tr>
<tr class="separator:ga8716a13603308b43998f55be1a056e5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga1749acc1d36063b3c63eceb573807803"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> str2ea </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *&#160;</td>
          <td class="paramname"><em>ea_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>screen_ea</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert string to linear address. </p>
<p>Tries to interpret the string as: <br />
1) "current IP" keyword if supported by assembler (e.g. "$" in x86) <br />
2) segment:offset expression, where "segment" may be a name or a fixed segment register (e.g. cs, ds) <br />
3) just segment name/register (translated to segment's start address) <br />
4) a name in the database (or debug name during debugging) <br />
5) +delta or -delta, where numerical 'delta' is added to or subtracted from 'screenEA' <br />
6) if all else fails, try to evaluate 'str' as an IDC expression </p>

</div>
</div>
<a class="anchor" id="ga23d7766239e287fb8ff399b5bc0aaee5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> str2ea_ex </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *&#160;</td>
          <td class="paramname"><em>ea_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>screen_ea</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as <a class="el" href="group__conv.html#ga1749acc1d36063b3c63eceb573807803" title="Convert string to linear address. ">str2ea()</a> but possibly with some steps skipped. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">flags</td><td><a class="el" href="group___s2_e_a_o_p_t__.html">String to address conversion flags</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gab76412b1a3398d75775dfe8793f21586"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> atoea </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> *&#160;</td>
          <td class="paramname"><em>pea</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a number in C notation to an address. </p>
<p>decimal: 1234 <br />
octal: 0123 <br />
hexadecimal: 0xabcd <br />
binary: 0b00101010 </p>

</div>
</div>
<a class="anchor" id="ga37485399ee5ae9a8f2a640791c196ba3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> int <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> atos </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a633a07e2920351503da14c0adcd3edfd">sel_t</a> *&#160;</td>
          <td class="paramname"><em>seg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert UTF-8 string to segment selector. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>- fail </td></tr>
    <tr><td class="paramname">1</td><td>- ok (hex) </td></tr>
    <tr><td class="paramname">2</td><td>- ok (segment name or reg) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga930c378fa67e093ba89b16a3893aa26a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> b2a_width </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>radix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of UTF-8 characters required to represent a number with the specified number of bytes and radix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nbytes</td><td>if 0, use default number of bytes, usually 4 or 8 depending on __EA64__ </td></tr>
    <tr><td class="paramname">radix</td><td>if 0, use default radix, usually 16 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gaf556e4db77caa513277469f486538021"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> b2a32 </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>bufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>radix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert number to UTF-8 string (includes leading zeroes). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>value to convert </td></tr>
    <tr><td class="paramname">buf</td><td>output buffer </td></tr>
    <tr><td class="paramname">bufsize</td><td>size of output buffer </td></tr>
    <tr><td class="paramname">nbytes</td><td>1, 2, 3, or 4 </td></tr>
    <tr><td class="paramname">radix</td><td>2, 8, 10, or 16 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>size of resulting string </dd></dl>

</div>
</div>
<a class="anchor" id="ga89eff609660f3911b48b064cded528a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> btoa_width </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a55dd00e03168fb5180830e87ef0a2c57">flags_t</a>&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get max number of UTF-8 characters required to represent a given type of value, with a given size (without leading zeroes). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nbytes</td><td>size of number </td></tr>
    <tr><td class="paramname">flag</td><td>should be one of FF_ for <a class="el" href="group___f_f__opbits.html#ga82c35fed1b6c4b01b773184c8ce1a4f3" title="Mask for 1st arg typing. ">MS_0TYPE</a> </td></tr>
    <tr><td class="paramname">n</td><td>if 1, shr 'flag' by 4 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga5c891837ef475e76b295d9a392fee148"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> btoa32 </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>bufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>radix</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as <a class="el" href="group__conv.html#gaf556e4db77caa513277469f486538021" title="Convert number to UTF-8 string (includes leading zeroes). ">b2a32()</a>, but will generate a string without any leading zeroes. </p>
<p>Can be used to output some numbers in the instructions. </p>

</div>
</div>
<a class="anchor" id="ga69a59c44a34ab2ad3ac2a63db70a1d3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> size_t <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> numop2str </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>bufsize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>ea</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nbytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>radix</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert instruction operand immediate number to UTF-8. </p>
<p>This is the main function to output numbers in the instruction operands. <br />
It prints the number with or without the leading zeroes depending on the flags. <br />
This function is called from out_value(). Please use out_value() if you can. </p>

</div>
</div>
<a class="anchor" id="gad1f23fd75bbb86f6c99cda4ee3f2901b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> bool <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> atob32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a> *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert UTF-8 to a number using the current assembler formats. </p>
<p>e.g. for ibmpc, '12o' is octal, '12h' is hex, etc. </p><dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="gacb73af3c1ed4cb525cf9460ab9c76583"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> void <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> append_disp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#ac29a387cc69c0d1abb2f2ef05dad1a6f">adiff_t</a>&#160;</td>
          <td class="paramname"><em>disp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>tag</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Auxiliary function. </p>
<p>Print displacement to a name (+disp or -disp) in the natural radix </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>output buffer to append to </td></tr>
    <tr><td class="paramname">disp</td><td>displacement to output. 0 leads to no modifications </td></tr>
    <tr><td class="paramname">tag</td><td>whether to output color tags </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga20030e1b244657d07e337f43b30d31a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a8ddba56b40c4be92718f8059abf51147">idaman</a> <a class="el" href="pro_8h.html#acb0b22a01885ebdb9ac572343bbc4dab">THREAD_SAFE</a> int <a class="el" href="pro_8h.html#a176294e75f953787714b9d08ffa89adf">ida_export</a> r50_to_asc </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="pro_8h.html#ab95f123a6c9bcfee6a343170ef8c5f69">ushort</a> *&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert RADIX50 -&gt; UTF-8. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>pointer to UTF-8 string </td></tr>
    <tr><td class="paramname">r</td><td>pointer to radix50 string </td></tr>
    <tr><td class="paramname">k</td><td>number of elements in the input string <br />
 (element of radix50 string is a word) <br />
 (element of UTF-8 string is a character) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>number of elements left unprocessed in the input string, <br />
 because the input string contains unconvertible elements. <br />
 0-ok, all elements are converted </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
